﻿using System;
using IFRS.Model;

namespace IFRS.Models
{
    [Serializable]
    public class ManualLoan : IStandardField
    {
        public int ManualLoanID { get; set; }
        public DateTime? TransactionDate { get; set; }
        public string AccountNo { get; set; }
        public string GLAccount { get; set; }
        public string CostCenter { get; set; }
        public string CostCenterName { get; set; }
        public DateTime? StartedDate { get; set; }
        public DateTime? EndDate { get; set; }
        public DateTime? LastPayDate { get; set; }
        public DateTime? NextPayDate { get; set; }
        public decimal? PaymentFreq { get; set; }
        public string PaymentFreqTimeBase { get; set; }
        public int? PaymentConditionID { get; set; }
        public string PaymentConditionName { get; set; }
        public int? CalInterestCondID { get; set; }
        public string CalInterestCondName { get; set; }
        public int InterestTypeID { get; set; }
        public string InterestTypeName { get; set; }
        public decimal? InterestRate { get; set; }
        public string RefInterestCode { get; set; }
        public string RefInterestName { get; set; }        
        public decimal? AdditionalInterest { get; set; }
        public int? DayCountMethodID { get; set; }
        public string DayCountMethodName { get; set; }
        public string CurrencyCode { get; set; }
        public decimal? UnpaidInterest { get; set; }
        public decimal Dept { get; set; }
        public int CreditLevelID { get; set; }
        public string CreditLevelName { get; set; }
        public int? CustomerID { get; set; }
        public string CustomerCode { get; set; }
        public int ContractLoanTypeID { get; set; }
        public string ContractLoanTypeName { get; set; }
        public string LoanObjectiveID { get; set; }
        public string LoanObjectiveName { get; set; }
        public DateTime? FisrtMisDate { get; set; }
        public string AdjustFlag { get; set; }
        public decimal? ReservedAmount { get; set; }
        public decimal? ApprovedAmount { get; set; }
        public bool? IsConfirmed { get; set; }
        public string IsConfirmedText { get; set; }
        public string RP_GSB_PRDCD { get; set; }
        public string RP_SOURCE_FILE { get; set; }
        public string RP_MAPPING_CD { get; set; }
        public DateTime CreatedDate { get; set; }
        public string CreatedBy { get; set; }
        public string CreatedCostCenter { get; set; }
        public string CreatedBranch { get; set; }
        public DateTime UpdatedDate { get; set; }
        public string UpdatedBy { get; set; }
        public string UpdatedCostCenter { get; set; }
        public string UpdatedBranch { get; set; }
    }
}
